package com.xqboss.apps.domain.nft;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;

import java.util.Date;

@Data
@TableName("supplier")
public class Supplier {

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;


    private Integer sort;
    private String supplierCode;
    private String supplierName;
    private String companyName;
    private String companyData;
    private String supplierBrief;
    private String contactMobile;
    private String contactName;
    private String wechatNumber;
    private String mailbox;
    private String contactImgs;
    private String accountName;
    private String bankName;
    private String bankAccount;
    private String invoiceTitle;
    private String taxNumber;
    private String postAddress;
    private String nickName;
    private String loginAccount;
    private String password;
    private Integer isRuled;
    private String qualificationImg;
    private String note;

    @JsonIgnore
    private Date createTime;

    @JsonIgnore
    private Date updateTime;

    @TableLogic(value = "null", delval = "now()")
    @JsonIgnore
    private Date deleteTime;
}
